/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Controlador;

import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpSessionActivationListener;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

/**
 *
 * @author zeta
 */
public class NewClass implements HttpSessionListener {

    

 

    public void sessionCreated(HttpSessionEvent se) {
       System.out.println("Se creo la session " +se.getSession().getId());
        System.out.println("a las " +se.getSession().getCreationTime());
    }

    public void sessionDestroyed(HttpSessionEvent se) {
        System.out.println("Se cerro la session " +se.getSession().getId());
        System.out.println("a las " +se.getSession().getCreationTime());
    }

}
